mmc: omap_hsmmc: cleanup omap_hsmmc_set_ios
authorKishon Vijay Abraham I <[email protected]>
Tue, 30 Jan 2018 15:01:31 +0000 (16:01 +0100)
committerJaehoon Chung <[email protected]>
Mon, 19 Feb 2018 07:58:54 +0000 (16:58 +0900)
commit48a2f11443a1f15c1dcee4f2051f12edc6378510
treec85bb0159be19fbe506d34b42eb7bf273f505245
parent5baf543e5277ec30c2e9fdb3e89dafc926532bac
mmc: omap_hsmmc: cleanup omap_hsmmc_set_ios

No functional change. Move bus width configuration setting to a
separate function and invoke it only if there is a change in the
bus width.

Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Jean-Jacques Hiblot <[email protected]>
drivers/mmc/omap_hsmmc.c